<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'idbook'); ?>
		<?php echo $form->textField($model,'idbook'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'description'); ?>
		<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'author'); ?>
		<?php echo $form->textField($model,'author',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'check'); ?>
		<?php echo $form->textField($model,'check'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'createddate'); ?>
		<?php echo $form->textField($model,'createddate'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'idstaff'); ?>
		<?php echo $form->textField($model,'idstaff'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'iduser'); ?>
		<?php echo $form->textField($model,'iduser'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'resource'); ?>
		<?php echo $form->textField($model,'resource',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'urlimage'); ?>
		<?php echo $form->textField($model,'urlimage',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'downloadbookcount'); ?>
		<?php echo $form->textField($model,'downloadbookcount'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ratepoint'); ?>
		<?php echo $form->textField($model,'ratepoint'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'rateclick'); ?>
		<?php echo $form->textField($model,'rateclick'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->